home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / ami301c.zip / QKCOLLG.SM$ / QKCOLLG.SMM
INI File  |  1993-05-15  |  24KB  |  1,822 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     QMS-PS 810
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Determine college savings schedule.
  19.     
  20.     
  21.     
  22.     
  23.     737497865
  24.     24
  25.     732570070
  26.     827
  27.     8
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Times New Roman
  60.         240
  61.         0
  62.         49152
  63.     [algn]
  64.         1
  65.         1
  66.         0
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         280
  103.         1
  104.         2
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Bullet
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         49152
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         288
  180.         288
  181.     [spc]
  182.         33
  183.         273
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         4
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         0
  205.         <*0>
  206.         360
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         2
  217.         .
  218.         ,
  219.         $
  220.     Bullet
  221.     0
  222.     0
  223. [tag]
  224.     Bullet 1
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         240
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         288
  235.         288
  236.         288
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*5>
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         280
  271.         1
  272.         2
  273.         .
  274.         ,
  275.         $
  276.     Bullet 1
  277.     0
  278.     0
  279. [tag]
  280.     Number List
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         240
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         360
  291.         360
  292.         360
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         0
  317.         <*:>.
  318.         360
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         2
  329.         .
  330.         ,
  331.         $
  332.     Number List
  333.     0
  334.     0
  335. [tag]
  336.     Subhead
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         240
  341.         0
  342.         49155
  343.     [algn]
  344.         1
  345.         1
  346.         0
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         72
  354.         72
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         2
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         2
  385.         .
  386.         ,
  387.         $
  388.     Subhead
  389.     0
  390.     0
  391. [tag]
  392.     Title
  393.     8
  394.     [fnt]
  395.         Arial
  396.         360
  397.         0
  398.         16385
  399.     [algn]
  400.         4
  401.         1
  402.         0
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         446
  408.         1
  409.         144
  410.         72
  411.         1
  412.         100
  413.     [brk]
  414.         16
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         1
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Title
  445.     0
  446.     0
  447. [tag]
  448.     Header
  449.     9
  450.     [fnt]
  451.         Times New Roman
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         0
  459.         0
  460.         0
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Header
  501.     0
  502.     0
  503. [tag]
  504.     Footer
  505.     11
  506.     [fnt]
  507.         Times New Roman
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         0
  515.         0
  516.         0
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         
  542.         0
  543.         1
  544.         1
  545.         0
  546.         0
  547.         0
  548.         0
  549.     [nfmt]
  550.         280
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Footer
  557.     0
  558.     0
  559. [lay]
  560.     Standard
  561.     513
  562.     [rght]
  563.         15840
  564.         12240
  565.         1
  566.         360
  567.         1440
  568.         1
  569.         1440
  570.         360
  571.         0
  572.         1
  573.         0
  574.         1
  575.         0
  576.         2
  577.         1
  578.         360
  579.         11880
  580.         13
  581.         1
  582.         720
  583.         1
  584.         1440
  585.         1
  586.         2160
  587.         1
  588.         2880
  589.         1
  590.         3600
  591.         1
  592.         4320
  593.         1
  594.         5040
  595.         1
  596.         5760
  597.         1
  598.         6480
  599.         1
  600.         7200
  601.         1
  602.         7920
  603.         1
  604.         8640
  605.         1
  606.         9690
  607.     [hrght]
  608.     [lyfrm]
  609.         1
  610.         11200
  611.         0
  612.         0
  613.         12240
  614.         1440
  615.         0
  616.         1
  617.         3
  618.         1 0 0 0 0 0 0
  619.         0
  620.         0
  621.         1
  622.     [frmlay]
  623.         1440
  624.         12240
  625.         1
  626.         1440
  627.         72
  628.         1
  629.         792
  630.         1440
  631.         0
  632.         1
  633.         0
  634.         1
  635.         1
  636.         0
  637.         1
  638.         1440
  639.         10800
  640.         2
  641.         2
  642.         4680
  643.         3
  644.         9360
  645.     [txt]
  646. >
  647.     [frght]
  648.     [lyfrm]
  649.         1
  650.         13248
  651.         0
  652.         14400
  653.         12240
  654.         15840
  655.         0
  656.         1
  657.         3
  658.         1 0 0 0 0 0 0
  659.         0
  660.         0
  661.         2
  662.     [frmlay]
  663.         15840
  664.         12240
  665.         1
  666.         1440
  667.         792
  668.         1
  669.         14472
  670.         1440
  671.         0
  672.         1
  673.         0
  674.         1
  675.         1
  676.         0
  677.         1
  678.         1440
  679.         10800
  680.         2
  681.         2
  682.         4680
  683.         3
  684.         9360
  685.     [txt]
  686. >
  687. [elay]
  688. [l1]
  689.     0
  690. [edoc]
  691. @Outline2@<:#284,11520>
  692.  
  693. @Outline2@<:#284,11520>Define  NumDec    2
  694.  
  695. <:#284,11520>Define    GetPrefix()    GetGlobalVar$("Prefix")
  696.  
  697. <:#284,11520>Define    GetSuffix()    GetGlobalVar$("Suffix")
  698.  
  699. <:#284,11520>Define    Formula    "1/@Fv(1,{Interest}/12,{NumberYears}*12)*{Tuition}"
  700.  
  701. <:#284,11520>
  702.  
  703. <:#284,11520>
  704.  
  705. <:#284,11520>
  706.  
  707. <:#284,11520>CollegeAge        17
  708.  
  709. <:#284,11520>
  710.  
  711. <:#284,11520>
  712.  
  713. <:#284,11520>Declare FontDlg(Action, Hdlg, id)
  714.  
  715. <:#284,11520>Declare CellEngine(action,cFormula)
  716.  
  717. <:#284,11520>Declare GetMarkValue(Bookmarkname)
  718.  
  719. <:#284,11520>Declare    StrPath(Filename)
  720.  
  721. <:#284,11520>Declare    GetFormats(Action)
  722.  
  723. <:#284,11520>
  724.  
  725. <:#284,11520>
  726.  
  727. <:#568,11520>Define    Descript    "Enter the following information to calculate how much you will need to save per month to send your child to college."
  728.  
  729. <:#284,11520>
  730.  
  731. @Subhead@<:#284,11520>Function Main(Principal, Interest, Term)
  732.  
  733. <:#284,11520>DefStr hInstance;
  734.  
  735. <:#284,11520>Mac = GetRunningMacroFile$()
  736.  
  737. <:#284,11520>MacPath = StrPath(Mac)
  738.  
  739. <:#284,11520>FontDlg(1,0,0)
  740.  
  741. CellEngine(1,0)    ' start the cell engine
  742.  
  743. <:#284,11520>GetFormats(1)    ' International function
  744.  
  745. <:#284,11520>
  746.  
  747. <:#284,11520>SetDlgCallBack(0,"{Mac}!InitDlg")
  748.  
  749. <:#284,11520>FillEdit(1001, Descript)
  750.  
  751. <:#284,11520>Bitmap = "{Macpath}qkCollg.bmt"
  752.  
  753. <:#284,11520>FillEdit(1003,Bitmap)
  754.  
  755. <+A><:#284,11520>
  756.  
  757. <:#284,11520>SetDlgCallBack(8000,"{Mac}!DataChange")
  758.  
  759. <:#284,11520>SetDlgCallBack(8001,"{Mac}!DataChange")
  760.  
  761. <:#284,11520>SetDlgCallBack(8002,"{Mac}!DataChange")
  762.  
  763. <:#284,11520>SetDlgCallBack(21,"{Mac}!DataChange")
  764.  
  765. @Outline3@<:#284,11520>DlgKeyInterrupt(112, "{mac}!DisplayHelp")
  766.  
  767. @Outline3@<:#284,11520>
  768.  
  769. <:#284,11520>
  770.  
  771. <:#284,11520>Box = DialogBox(".","College")
  772.  
  773. <:#284,11520>If Box = 3
  774.  
  775.     ' closed with the copy button.  note the 8011 is a text field
  776.  
  777.     Answer = GetDialogField$(8011)
  778.  
  779. <:#284,11520>    ClipBoardWrite(Answer, 1)
  780.  
  781. <:#284,11520>Endif
  782.  
  783. <:#284,11520>FontDlg(4,0,0)
  784.  
  785. <:#284,11520>CellEngine(0,0)
  786.  
  787. <:#284,11520>GetFormats(0)
  788.  
  789. <:#284,11520>End function
  790.  
  791. <:#284,11520>
  792.  
  793. <:#284,11520>
  794.  
  795. @Subhead@<:#284,11520>Function DataChange(Hdlg, id, value)
  796.  
  797. <:#284,11520>IgnoreKeyBoard(2)
  798.  
  799. <:#284,11520>DefStr Allowance;
  800.  
  801. <:#284,11520>NumberYears = GetDlgItemText(hDlg, 8000) * 1
  802.  
  803. <:#284,11520>Interest = GetDlgItemText(hDlg, 8001) /100
  804.  
  805. <:#284,11520>Tuition = GetDlgItemText(Hdlg, 8002)* 4
  806.  
  807. <:#284,11520>TotalTuition = FormatNum$(GetPrefix(), GetSuffix(), NumDec, Tuition )
  808.  
  809. <:#284,11520>Answer = CellEngine(3,Formula )      
  810.  
  811. <:#284,11520>If IsNumeric(Answer)
  812.  
  813. <:#284,11520>    Total = FormatNum$(GetPrefix(),GetSuffix(),NumDec,Answer)
  814.  
  815. <:#284,11520>Else
  816.  
  817. <:#284,11520>    Total = Answer
  818.  
  819. <:#284,11520>Endif
  820.  
  821. <:#284,11520>SetDlgItemText(hDlg, 8010, TotalTuition)
  822.  
  823. <:#284,11520>SetDlgItemText(hDlg, 8011, Total)
  824.  
  825. <:#284,11520>
  826.  
  827. <:#284,11520>End Function
  828.  
  829. @Subhead@<:#284,11520>
  830.  
  831. @Subhead@<:#284,11520>Function InitDlg(hDlg, id, value)
  832.  
  833. <:#284,11520>' use the fontdlg function to display the following control with a small font
  834.  
  835. <:#284,11520>IgnoreKeyBoard(2)
  836.  
  837. <:#284,11520>HourGlass(on)
  838.  
  839. <:#284,11520>FontDlg(3,Hdlg, 1000)
  840.  
  841. <:#284,11520>FontDlg(3, Hdlg, 1001)
  842.  
  843. <:#284,11520>FontDlg(3, Hdlg, 1004)
  844.  
  845. <:#284,11520>FontDlg(3, Hdlg, 1005)
  846.  
  847. <:#284,11520>FontDlg(3, Hdlg, 1006)
  848.  
  849. <:#284,11520>FontDlg(3, Hdlg, 8000)
  850.  
  851. <:#284,11520>FontDlg(3, Hdlg, 8001)
  852.  
  853. <:#284,11520>FontDlg(3, Hdlg, 8002)
  854.  
  855. <:#284,11520>FontDlg(3, Hdlg, 21)
  856.  
  857. <:#284,11520>FontDlg(3, Hdlg, 1007)
  858.  
  859. <:#284,11520>FontDlg(3, Hdlg, 1008)
  860.  
  861. <:#284,11520>FontDlg(3, Hdlg, 8010)
  862.  
  863. <:#284,11520>FontDlg(3, Hdlg, 8011)
  864.  
  865. <:#284,11520>HourGlass(off)
  866.  
  867. <:#284,11520>
  868.  
  869. <:#284,11520>End Function
  870.  
  871. <:#284,11520>
  872.  
  873. @Subhead@<:#284,11520>function DisplayHelp()
  874.  
  875. @Outline2@<:#284,11520>' two defines needed for help.  The help name and panel number are defined above
  876.  
  877. @Outline2@<:#284,11520>define FindWindowa() DllCall("user,FindWindow,HCC", %1, %2)
  878.  
  879. @Outline2@<:#284,11520>define WinHelpa(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  880.  
  881. @Outline2@<:#284,11520>prohWnd = FindWindowa("AmiProWndA", 0)
  882.  
  883. @Outline2@<:#284,11520>helpfile = strcat$(GetAmiDirectory$(), "HelpPack.hlp")
  884.  
  885. @Outline2@<:#284,11520>PanelNum= 30 
  886.  
  887. @Outline2@<:#284,11520>WinHelpa(prohWnd, helpfile, 0x0001, Panelnum)
  888.  
  889. @Outline2@<:#284,11520>end function
  890.  
  891. @Subhead@<:#284,11520>
  892.  
  893. <:#284,11520>
  894.  
  895. <:#284,11520>
  896.  
  897. <:#284,11520>
  898.  
  899. <:#284,11520>
  900.  
  901. <:#284,11520>
  902.  
  903. @Subhead@<:#284,11520>Function GetFormats(Action)
  904.  
  905. <:#284,11520>iCurrency = GetProfileString$("Intl","iCurrency","Win.ini")
  906.  
  907. <:#284,11520>currency = GetProfileString$("Intl","sCurrency","Win.ini")
  908.  
  909. <:#284,11520>AllocGlobalVar("Prefix",1)
  910.  
  911. <:#284,11520>AllocGlobalVar("Suffix",1)
  912.  
  913. <:#284,11520>
  914.  
  915. <:#284,11520>Switch Action
  916.  
  917. <:#284,11520>    Case 1     ' turn this on
  918.  
  919. <:#284,11520>        Switch iCurrency
  920.  
  921. <:#284,11520>            Case 0
  922.  
  923. <:#284,11520>                Prefix = Currency
  924.  
  925. <:#284,11520>                Suffix = ""
  926.  
  927. <:#284,11520>            Case 1
  928.  
  929. <:#284,11520>                Prefix = ""
  930.  
  931. <:#284,11520>                Suffix = Currency
  932.  
  933. <:#284,11520>            Case 2
  934.  
  935. <:#284,11520>                Prefix = StrCat$(Currency," ")
  936.  
  937. <:#284,11520>                Suffix = ""
  938.  
  939. <:#284,11520>            Case 3
  940.  
  941. <:#284,11520>                Prefix = ""
  942.  
  943. <:#284,11520>                Suffix = StrCat$(" ",Currency)
  944.  
  945. <:#284,11520>        endSwitch
  946.  
  947. <:#284,11520>        SetGlobalVar("Suffix",Suffix)
  948.  
  949. <:#284,11520>        SetGlobalVar("Prefix",Prefix)
  950.  
  951. <:#284,11520>
  952.  
  953. <:#284,11520>    Case 0    ' free globals
  954.  
  955. <:#284,11520>        FreeGlobalVar("Suffix")
  956.  
  957. <:#284,11520>        FreeGlobalVar("Prefix")
  958.  
  959. <:#284,11520>        
  960.  
  961. <:#284,11520>EndSwitch
  962.  
  963. <:#284,11520>End Function
  964.  
  965. @Subhead@<:#284,11520>
  966.  
  967. <:#284,11520>
  968.  
  969. <:#284,11520>
  970.  
  971. <:#284,11520>
  972.  
  973. <:#284,11520>function strpath(filename)
  974.  
  975. <:#284,11520>defstr char;
  976.  
  977. <:#284,11520>Length = len(FileName)
  978.  
  979. <:#284,11520>WHILE "\" != Assign(&Char, MID$(FileName, Length, 1))
  980.  
  981. <:#284,11520>    Length = Length - 1
  982.  
  983. <:#284,11520>WEND
  984.  
  985. <:#284,11520>InFileName = Right$(FileName, (len(FileName) - Length))
  986.  
  987. <:#284,11520>InDir = Left$(FileName, Length - 1) 
  988.  
  989. <:#284,11520>if right$(indir, 1) <<<;> "\"
  990.  
  991. <:#284,11520>    indir = strcat$(indir, "\")
  992.  
  993. <:#284,11520>endif
  994.  
  995. <:#284,11520>return indir
  996.  
  997. <:#284,11520>end function
  998.  
  999. <:#284,11520>
  1000.  
  1001. <:#284,11520>
  1002.  
  1003. <:#284,11520>
  1004.  
  1005. <:p<* >>
  1006.  
  1007. @Subhead@<:#284,11520>Function CellEngine(Action, cFormula)
  1008.  
  1009. <:#284,11520>'Available Actions
  1010.  
  1011. <:#284,11520>'    1         Start the engine and allocate globalvar
  1012.  
  1013. <:#284,11520>'    2        Return the handle to the instance of the sheet
  1014.  
  1015. <:#284,11520>'    3        Evaluate the formula which is the second param
  1016.  
  1017. <:#284,11520>'    0        Shut everything down
  1018.  
  1019. <:#284,11520>'    Default    Expect a formula and return an answer
  1020.  
  1021. <:#284,11520>
  1022.  
  1023. <:#284,11520>' these defines may be useful at the beginning of your macro
  1024.  
  1025. <:#284,11520>Define StartEngine    1
  1026.  
  1027. <:#284,11520>Define GetInstance    2
  1028.  
  1029. <:#284,11520>Define CloseEngine    0
  1030.  
  1031. <:#284,11520>
  1032.  
  1033. <:#284,11520>Define    CECREATEINSTANCE(LPHANDLE)    DllCall("LTSCE01.DLL,CECREATEINSTANCE,HO",%1)
  1034.  
  1035. <:#284,11520>Define    CEDESTROYINSTANCE(HANDLE)    DllCall("LTSCE01.DLL,CEDESTROYINSTANCE,HH",%1)
  1036.  
  1037. <:#568,11520>Define    CECALCNOW(HINSTANCE, lpFormula, lpOutPut)    DllCall("LTSCE01.DLL,CECALCNOW,HHCC",%1,%2,%3)
  1038.  
  1039. <:#284,11520>
  1040.  
  1041. <:#284,11520>DefStr hInstance, Answer, Var;
  1042.  
  1043. <:#284,11520>Mac = GetRunningMacroFile$()
  1044.  
  1045. <:#284,11520>GlobalInstance = StrCat$(Mac,"hIstance")
  1046.  
  1047. <:#284,11520>
  1048.  
  1049. <:#284,11520>Switch Action
  1050.  
  1051. <:#284,11520>    Case 1
  1052.  
  1053. <:#284,11520>        ' start the engine
  1054.  
  1055. <:#284,11520>        LibId = DLLLoadLib("LTSCE01.DLL","CECreateInstance","HO")
  1056.  
  1057. <:#284,11520>        If LibId = 0
  1058.  
  1059. <:#284,11520>            Message("LTSCE01.DLL not found.  Copy the dll to your windows directory")    
  1060.  
  1061. <:#284,11520>            Return -1;
  1062.  
  1063. <:#284,11520>        Endif
  1064.  
  1065. <:#284,11520>        RetVal = CECREATEINSTANCE(&hInstance)
  1066.  
  1067. <:#284,11520>        AllocGlobalVar("{GlobalInstance}",1)
  1068.  
  1069. <:#284,11520>        AllocGlobalVar("{Mac}LibId",1)
  1070.  
  1071. <:#284,11520>        SetGlobalVar("{Mac}Libid",LibId)
  1072.  
  1073. <:#284,11520>        SetGlobalVar("{GlobalInstance}",hInstance)
  1074.  
  1075. <:#284,11520>        Return hInstance;
  1076.  
  1077. <:#284,11520>        Break;
  1078.  
  1079. <:#284,11520>
  1080.  
  1081. <:#284,11520>    Case 2
  1082.  
  1083. <:#284,11520>        ' return the handle to the instance of the sheet
  1084.  
  1085. <:#284,11520>        AllocGlobalVar("{GlobalInstance}",1)
  1086.  
  1087. <:#284,11520>        hInstance = GetGlobalVar$("{GlobalInstance}")
  1088.  
  1089. <:#284,11520>        Return hInstance;
  1090.  
  1091. <:#284,11520>        Break;
  1092.  
  1093. <:#284,11520>
  1094.  
  1095. <:#284,11520>    Case 3
  1096.  
  1097. <:#284,11520>        ' Calculate the formula and return the answer
  1098.  
  1099. <:#284,11520>            AllocGlobalVar("{GlobalInstance}",1)
  1100.  
  1101. <:#284,11520>            hInstance = GetGlobalVar$("{GlobalInstance}")
  1102.  
  1103. <:#284,11520>            CECalcNow(hInstance,"{cFormula}",&Answer)
  1104.  
  1105. <:#284,11520>            Return Answer;
  1106.  
  1107. <:#284,11520>        Break;
  1108.  
  1109. <:#284,11520>
  1110.  
  1111. <:#284,11520>
  1112.  
  1113. <:#284,11520>
  1114.  
  1115. <:#284,11520>    Case 0
  1116.  
  1117. <:#284,11520>        ' destroy the instance of the sheet and free the global var and libid
  1118.  
  1119. <:#284,11520>        AllocGlobalVar("{GlobalInstance}",1)
  1120.  
  1121. <:#284,11520>        AllocGlobalVar("{Mac}LibId",1)
  1122.  
  1123. <:#284,11520>        hInstance = GetGlobalVar$("{GlobalInstance}")
  1124.  
  1125. <:#284,11520>        LibId = GetGlobalVar$("{Mac}LibId")
  1126.  
  1127. <:#284,11520>        If hInstance
  1128.  
  1129. <:#284,11520>            CEDestroyInstance(hInstance)
  1130.  
  1131. <:#284,11520>            DllFreeLib(Libid)
  1132.  
  1133. <:#284,11520>        Endif
  1134.  
  1135. <:#284,11520>        FreeGlobalVar("{GlobalInstance}")
  1136.  
  1137. <:#284,11520>        FreeGlobalVar("{Mac}LibId")
  1138.  
  1139. <:#284,11520>        Break;
  1140.  
  1141. <:#284,11520>
  1142.  
  1143. <:#284,11520>    Default
  1144.  
  1145. <:#284,11520>EndSwitch
  1146.  
  1147. <:#284,11520>End Function
  1148.  
  1149. @Subhead@<:#284,11520>
  1150.  
  1151. <:#284,11520>
  1152.  
  1153. <:#284,11520>
  1154.  
  1155. <:#284,11520>
  1156.  
  1157. <:#284,11520>
  1158.  
  1159. @Subhead@<:#284,11520>Function FontDlg(Action, Hdlg, id)
  1160.  
  1161. <:#284,11520>' 1    Create a font and allocvar
  1162.  
  1163. <:#284,11520>' 2    Return the handle of the create font 
  1164.  
  1165. <:#284,11520>' 3    Set the id specified to the font
  1166.  
  1167. <:#284,11520>' 4    Freeglobalvar and delete created object
  1168.  
  1169. <:#284,11520>
  1170.  
  1171. @Outline2@<:#568,11520>define    CreateFontDLG()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  1172.  
  1173. @Outline2@<:#284,11520>define    DeleteObjectDLG(handle)    DllCall("gdi,DeleteObject,HH", %1)
  1174.  
  1175. @Outline2@<:#284,11520>define    SendMessageDLG(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  1176.  
  1177. @Outline2@<:#284,11520>
  1178.  
  1179. @Outline2@<:#284,11520>
  1180.  
  1181. <:#284,11520>Switch Action
  1182.  
  1183. <:#284,11520>    Case 1    ' Create the font and store it
  1184.  
  1185. @Outline2@<:#284,11520>        Font = CreateFontDLG(13, 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, 0, 32, "Helv")
  1186.  
  1187. <:#284,11520>        AllocGlobalVar("FontHandle",1)
  1188.  
  1189. <:#284,11520>        If Font
  1190.  
  1191. <:#284,11520>            SetGlobalVar("FontHandle",Font)
  1192.  
  1193. <:#284,11520>            Return Font
  1194.  
  1195. <:#284,11520>        Else
  1196.  
  1197. <:#284,11520>            Return 0;    ' no font
  1198.  
  1199. <:#284,11520>        Endif
  1200.  
  1201. <:#284,11520>        Break;
  1202.  
  1203. <:#284,11520>    Case 2    ' Return the handle to the font
  1204.  
  1205. <:#284,11520>        Handle = GetGlobalVar$("FontHandle")
  1206.  
  1207. <:#284,11520>        If Handle 
  1208.  
  1209. <:#284,11520>            Return Handle
  1210.  
  1211. <:#284,11520>        Else
  1212.  
  1213. <:#284,11520>            Return 0
  1214.  
  1215. <:#284,11520>        Endif
  1216.  
  1217. <:#284,11520>
  1218.  
  1219. <:#284,11520>    Case 3    ' Set the id to the font
  1220.  
  1221. <:#284,11520>        Handle = GetGlobalVar$("FontHandle")
  1222.  
  1223. <:#284,11520>        If Handle 
  1224.  
  1225. <:#284,11520>            IdControl = GetDlgITem(Hdlg, id)
  1226.  
  1227. <:#284,11520>            SendMessageDlg(idControl, 0x30, Handle, 0)
  1228.  
  1229. <:#284,11520>            Return 1
  1230.  
  1231. <:#284,11520>        Else
  1232.  
  1233. <:#284,11520>            Return 0
  1234.  
  1235. <:#284,11520>        Endif
  1236.  
  1237. <:#284,11520>        Break;        
  1238.  
  1239. <:#284,11520>        
  1240.  
  1241. <:#284,11520>    Case 4    ' Delete the font and clear the var
  1242.  
  1243. <:#284,11520>        Handle = GetGlobalVar$("FontHandle")
  1244.  
  1245. <:#284,11520>        If Handle
  1246.  
  1247. <:#284,11520>            DeleteObjectDLG(Handle)
  1248.  
  1249. <:#284,11520>            Stat = 1    
  1250.  
  1251. <:#284,11520>        Else
  1252.  
  1253. <:#284,11520>            Stat = 0
  1254.  
  1255. <:#284,11520>        Endif
  1256.  
  1257. <:#284,11520>        FreeGlobalVar("FontHandle")
  1258.  
  1259. <:#284,11520>        Return Stat        
  1260.  
  1261. <:#284,11520>    Default
  1262.  
  1263. <:#284,11520>        Message("Fontdlg received an invalid parameter {Action}")
  1264.  
  1265. <:#284,11520>EndSwitch    
  1266.  
  1267. <:#284,11520>
  1268.  
  1269. <:#284,11520>End Function
  1270.  
  1271. @Subhead@<:#284,11520>
  1272.  
  1273. @Subhead@<:#284,11520>
  1274.  
  1275. <:#284,11520>
  1276.  
  1277. @Subhead@<:#284,11520>Function GetMarkValue(Name)
  1278.  
  1279. <:#284,11520>' This retrieves a value from the bookmark name and returns the value
  1280.  
  1281. <:#284,11520>' If the bookmark does not exit, a "" is returned
  1282.  
  1283. <:#284,11520>If Name = ""
  1284.  
  1285. <:#284,11520>    Return Name
  1286.  
  1287. <:#284,11520>Endif
  1288.  
  1289. <:#284,11520>Exist = EvalField("If Defined {Name} {Name} Else 0")
  1290.  
  1291. <:#284,11520>If Exist
  1292.  
  1293. <:#284,11520>    Value= EvalField("{Name}")
  1294.  
  1295. <:#284,11520>    If -1 != Strchr(1,Value, "<;>")
  1296.  
  1297. <:#284,11520>        If -1 = Assign(&Value, StrField$(Value, 2, "<;>"))    
  1298.  
  1299. <:#284,11520>        Endif
  1300.  
  1301. <:#284,11520>    Endif
  1302.  
  1303. <:#284,11520>Else
  1304.  
  1305. <:#284,11520>    Value = ""
  1306.  
  1307. <:#284,11520>Endif
  1308.  
  1309. <:#284,11520>Return Value;
  1310.  
  1311. <:#284,11520>End Function
  1312.  
  1313. <:#284,11520>
  1314.  
  1315. <:#284,11520>
  1316.  
  1317. <:#284,11520>
  1318.  
  1319. <:#284,11520>
  1320.  
  1321. <:#284,11520>DIALOG    College
  1322.  
  1323. <:#284,11520>-2134376448    15    71    30    185    99    ""    "AmiDialog"    "The College Fund"
  1324.  
  1325. <:#284,11520>FONT    8    "Helv"
  1326.  
  1327. <:#284,11520>89    28    16    12    8000    1350631424    "edit"    ""    0 
  1328.  
  1329. <:#284,11520>89    43    25    12    8002    1350631424    "edit"    ""    0 
  1330.  
  1331. <:#284,11520>89    57    16    12    8001    1350631424    "edit"    ""    0 
  1332.  
  1333. <:#284,11520>140    3    40    14    1    1342373889    "button"    "Done"    0 
  1334.  
  1335. <:#284,11520>82    76    40    8    8010    1342177282    "static"    ""    0 
  1336.  
  1337. 4    32    84    8    1004    1342177280    "static"    "Years until child enters college:"    0 
  1338.  
  1339. <:#284,11520>4    46    84    8    1005    1342177280    "static"    "Estimated college tuition/year:"    0 
  1340.  
  1341. <:#284,11520>4    60    81    8    1006    1342177280    "static"    "Savings account interest rate:"    0 
  1342.  
  1343. <:#284,11520>5    2    131    24    1001    1342177280    "static"    ""    0 
  1344.  
  1345. <:#284,11520>106    59    6    10    1000    1342177280    "static"    "%"    0 
  1346.  
  1347. <:#284,11520>114    35    58    46    1003    1342177290    "static"    "filename.bmp"    0 
  1348.  
  1349. <:#284,11520>82    86    40    8    8011    1342177282    "static"    ""    0 
  1350.  
  1351. <:#284,11520>4    75    62    10    1007    1342177280    "static"    "Total tuition (4yrs):"    0 
  1352.  
  1353. <:#284,11520>4    86    85    10    1008    1342177280    "static"    "Required savings/month:"    0 
  1354.  
  1355. <:#284,11520>140    19    40    14    3    1342373888    "button"    "Copy"    0 
  1356.  
  1357. <:#284,11520>END DIALOG
  1358.  
  1359. >
  1360.  
  1361. [Embedded]
  1362. 00018367
  1363. >
  1364. [macsum] 10
  1365. Main 0 3 7 20
  1366. DataChange 598 3 8 52
  1367. InitDlg 1042 3 1 70
  1368. DisplayHelp 1415 0 4 91
  1369. GetFormats 1600 1 5 106
  1370. strpath 2169 1 5 141
  1371. CellEngine 2490 2 8 158
  1372. FontDlg 3437 3 5 234
  1373. GetMarkValue 4283 1 3 293
  1374. College 4588 0 -1 315
  1375. [macse]
  1376. 14 Main
  1377. 0 802
  1378. 13
  1379. 8 5
  1380. 16 StrPath "{5}"
  1381. 13
  1382. 8 6
  1383. 16 FontDlg 1 0 0
  1384. 16 CellEngine 1 0
  1385. 16 GetFormats 1
  1386. 0 41 0 "{5}!InitDlg"
  1387. 0 31 1001 "Enter the following information to calculate how much you will need to save per month to send your child to college."
  1388. 7 "{6}qkCollg.bmt"
  1389. 8 7
  1390. 0 31 1003 "{7}"
  1391. 0 41 8000 "{5}!DataChange"
  1392. 0 41 8001 "{5}!DataChange"
  1393. 0 41 8002 "{5}!DataChange"
  1394. 0 41 21 "{5}!DataChange"
  1395. 0 47 112 "{5}!DisplayHelp"
  1396. 0 26 "." "College"
  1397. 13
  1398. 8 8
  1399. 6 8
  1400. 5 3
  1401. 18 0
  1402. 11 00000532
  1403. 0 27 8011
  1404. 13
  1405. 8 9
  1406. 0 1038 "{9}" 1
  1407. 16 FontDlg 4 0 0
  1408. 16 CellEngine 0 0
  1409. 16 GetFormats 0
  1410. 6 3
  1411. 15
  1412. 9
  1413. 14 DataChange
  1414. 0 32 2
  1415. 0 42 "{0}" 8000
  1416. 13
  1417. 5 1
  1418. 4 0
  1419. 8 5
  1420. 0 42 "{0}" 8001
  1421. 13
  1422. 5 100
  1423. 4 1
  1424. 8 6
  1425. 0 42 "{0}" 8002
  1426. 13
  1427. 5 4
  1428. 4 0
  1429. 8 7
  1430. 0 265 "Prefix"
  1431. 13
  1432. 0 265 "Suffix"
  1433. 13
  1434. 0 19 [X] [X] 2 "{7}"
  1435. 13
  1436. 8 8
  1437. 16 CellEngine 3 "1/@Fv(1,{6}/12,{5}*12)*{7}"
  1438. 13
  1439. 8 9
  1440. 0 277 "{9}"
  1441. 13
  1442. 11 00000374
  1443. 0 265 "Prefix"
  1444. 13
  1445. 0 265 "Suffix"
  1446. 13
  1447. 0 19 [X] [X] 2 "{9}"
  1448. 13
  1449. 8 10
  1450. 10 00000385
  1451. 6 9
  1452. 8 10
  1453. 0 43 "{0}" 8010 "{8}"
  1454. 0 43 "{0}" 8011 "{10}"
  1455. 6 3
  1456. 15
  1457. 9
  1458. 14 InitDlg
  1459. 0 32 2
  1460. 0 296 1
  1461. 16 FontDlg 3 "{0}" 1000
  1462. 16 FontDlg 3 "{0}" 1001
  1463. 16 FontDlg 3 "{0}" 1004
  1464. 16 FontDlg 3 "{0}" 1005
  1465. 16 FontDlg 3 "{0}" 1006
  1466. 16 FontDlg 3 "{0}" 8000
  1467. 16 FontDlg 3 "{0}" 8001
  1468. 16 FontDlg 3 "{0}" 8002
  1469. 16 FontDlg 3 "{0}" 21
  1470. 16 FontDlg 3 "{0}" 1007
  1471. 16 FontDlg 3 "{0}" 1008
  1472. 16 FontDlg 3 "{0}" 8010
  1473. 16 FontDlg 3 "{0}" 8011
  1474. 0 296 0
  1475. 6 3
  1476. 15
  1477. 9
  1478. 14 DisplayHelp
  1479. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  1480. 13
  1481. 8 1
  1482. 0 798
  1483. 13
  1484. 0 16 [X] "HelpPack.hlp"
  1485. 13
  1486. 8 2
  1487. 5 30
  1488. 8 3
  1489. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 "{3}"
  1490. 6 0
  1491. 15
  1492. 9
  1493. 14 GetFormats
  1494. 0 286 "Intl" "iCurrency" "Win.ini"
  1495. 13
  1496. 8 2
  1497. 0 286 "Intl" "sCurrency" "Win.ini"
  1498. 13
  1499. 8 3
  1500. 0 271 "Prefix" 1
  1501. 0 271 "Suffix" 1
  1502. 5 1
  1503. 6 0
  1504. 18 0
  1505. 11 00000496
  1506. 5 0
  1507. 6 2
  1508. 18 0
  1509. 11 00000233
  1510. 6 3
  1511. 8 4
  1512. 7 ""
  1513. 8 5
  1514. 10 00000439
  1515. 5 1
  1516. 6 2
  1517. 18 0
  1518. 11 00000296
  1519. 7 ""
  1520. 8 4
  1521. 6 3
  1522. 8 5
  1523. 10 00000439
  1524. 5 2
  1525. 6 2
  1526. 18 0
  1527. 11 00000374
  1528. 0 16 "{3}" " "
  1529. 13
  1530. 8 4
  1531. 7 ""
  1532. 8 5
  1533. 10 00000439
  1534. 5 3
  1535. 6 2
  1536. 18 0
  1537. 11 00000439
  1538. 7 ""
  1539. 8 4
  1540. 0 16 " " "{3}"
  1541. 13
  1542. 8 5
  1543. 0 264 "Suffix" "{5}"
  1544. 0 264 "Prefix" "{4}"
  1545. 10 00000557
  1546. 5 0
  1547. 6 0
  1548. 18 0
  1549. 11 00000557
  1550. 0 266 "Suffix"
  1551. 0 266 "Prefix"
  1552. 6 1
  1553. 15
  1554. 9
  1555. 14 strpath
  1556. 0 14 "{0}"
  1557. 13
  1558. 8 3
  1559. 7 "\"
  1560. 0 15 "{0}" "{3}" 1
  1561. 13
  1562. 0 805 &2 [X]
  1563. 13
  1564. 18 1
  1565. 11 00000134
  1566. 6 3
  1567. 5 1
  1568. 3 1
  1569. 8 3
  1570. 10 00000033
  1571. 0 14 "{0}"
  1572. 13
  1573. 6 3
  1574. 3 1
  1575. 0 807 "{0}" [X]
  1576. 13
  1577. 8 4
  1578. 6 3
  1579. 5 1
  1580. 3 1
  1581. 0 806 "{0}" [X]
  1582. 13
  1583. 8 5
  1584. 0 807 "{5}" 1
  1585. 13
  1586. 7 "\"
  1587. 18 1
  1588. 11 00000297
  1589. 0 16 "{5}" "\"
  1590. 13
  1591. 8 5
  1592. 6 5
  1593. 15
  1594. 9
  1595. 6 1
  1596. 15
  1597. 9
  1598. 14 CellEngine
  1599. 0 802
  1600. 13
  1601. 8 6
  1602. 0 16 "{6}" "hIstance"
  1603. 13
  1604. 8 7
  1605. 5 1
  1606. 6 0
  1607. 18 0
  1608. 11 00000427
  1609. 0 297 "LTSCE01.DLL" "CECreateInstance" "HO"
  1610. 13
  1611. 8 8
  1612. 6 8
  1613. 5 0
  1614. 18 0
  1615. 11 00000258
  1616. 0 3 "LTSCE01.DLL not found.  Copy the dll to your windows directory"
  1617. 5 -1
  1618. 15
  1619. 9
  1620. 0 284 "LTSCE01.DLL,CECREATEINSTANCE,HO" &3
  1621. 13
  1622. 8 9
  1623. 0 271 "{7}" 1
  1624. 0 271 "{6}LibId" 1
  1625. 0 264 "{6}Libid" "{8}"
  1626. 0 264 "{7}" "{3}"
  1627. 6 3
  1628. 15
  1629. 9
  1630. 10 00000935
  1631. 10 00000935
  1632. 5 2
  1633. 6 0
  1634. 18 0
  1635. 11 00000531
  1636. 0 271 "{7}" 1
  1637. 0 265 "{7}"
  1638. 13
  1639. 8 3
  1640. 6 3
  1641. 15
  1642. 9
  1643. 10 00000935
  1644. 10 00000935
  1645. 5 3
  1646. 6 0
  1647. 18 0
  1648. 11 00000686
  1649. 0 271 "{7}" 1
  1650. 0 265 "{7}"
  1651. 13
  1652. 8 3
  1653. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{3}" "{1}" &4
  1654. 6 4
  1655. 15
  1656. 9
  1657. 10 00000935
  1658. 10 00000935
  1659. 5 0
  1660. 6 0
  1661. 18 0
  1662. 11 00000935
  1663. 0 271 "{7}" 1
  1664. 0 271 "{6}LibId" 1
  1665. 0 265 "{7}"
  1666. 13
  1667. 8 3
  1668. 0 265 "{6}LibId"
  1669. 13
  1670. 8 8
  1671. 6 3
  1672. 11 00000878
  1673. 0 284 "LTSCE01.DLL,CEDESTROYINSTANCE,HH" "{3}"
  1674. 0 298 "{8}"
  1675. 0 266 "{7}"
  1676. 0 266 "{6}LibId"
  1677. 10 00000935
  1678. 10 00000935
  1679. 6 2
  1680. 15
  1681. 9
  1682. 14 FontDlg
  1683. 5 1
  1684. 6 0
  1685. 18 0
  1686. 11 00000255
  1687. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 0 0 0 0 0 "Helv"
  1688. 13
  1689. 8 4
  1690. 0 271 "FontHandle" 1
  1691. 6 4
  1692. 11 00000217
  1693. 0 264 "FontHandle" "{4}"
  1694. 6 4
  1695. 15
  1696. 9
  1697. 10 00000229
  1698. 5 0
  1699. 15
  1700. 9
  1701. 10 00000834
  1702. 10 00000834
  1703. 5 2
  1704. 6 0
  1705. 18 0
  1706. 11 00000381
  1707. 0 265 "FontHandle"
  1708. 13
  1709. 8 5
  1710. 6 5
  1711. 11 00000356
  1712. 6 5
  1713. 15
  1714. 9
  1715. 10 00000368
  1716. 5 0
  1717. 15
  1718. 9
  1719. 10 00000834
  1720. 5 3
  1721. 6 0
  1722. 18 0
  1723. 11 00000596
  1724. 0 265 "FontHandle"
  1725. 13
  1726. 8 5
  1727. 6 5
  1728. 11 00000558
  1729. 0 44 "{1}" "{2}"
  1730. 13
  1731. 8 6
  1732. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{5}" 0
  1733. 5 1
  1734. 15
  1735. 9
  1736. 10 00000570
  1737. 5 0
  1738. 15
  1739. 9
  1740. 10 00000834
  1741. 10 00000834
  1742. 5 4
  1743. 6 0
  1744. 18 0
  1745. 11 00000785
  1746. 0 265 "FontHandle"
  1747. 13
  1748. 8 5
  1749. 6 5
  1750. 11 00000730
  1751. 0 284 "gdi,DeleteObject,HH" "{5}"
  1752. 5 1
  1753. 8 7
  1754. 10 00000740
  1755. 5 0
  1756. 8 7
  1757. 0 266 "FontHandle"
  1758. 6 7
  1759. 15
  1760. 9
  1761. 10 00000834
  1762. 0 3 "Fontdlg received an invalid parameter {0}"
  1763. 6 3
  1764. 15
  1765. 9
  1766. 14 GetMarkValue
  1767. 6 0
  1768. 7 ""
  1769. 18 0
  1770. 11 00000059
  1771. 6 0
  1772. 15
  1773. 9
  1774. 0 1289 "If Defined {0} {0} Else 0"
  1775. 13
  1776. 8 2
  1777. 6 2
  1778. 11 00000270
  1779. 0 1289 "{0}"
  1780. 13
  1781. 8 3
  1782. 5 -1
  1783. 0 13 1 "{3}" ">"
  1784. 13
  1785. 18 1
  1786. 11 00000257
  1787. 5 -1
  1788. 0 20 "{3}" 2 ">"
  1789. 13
  1790. 0 805 &3 [X]
  1791. 13
  1792. 18 0
  1793. 11 00000257
  1794. 10 00000281
  1795. 7 ""
  1796. 8 3
  1797. 6 3
  1798. 15
  1799. 9
  1800. 6 1
  1801. 15
  1802. 9
  1803. DIALOG College
  1804. -2134376448 15 71 30 185 99 "" "AmiDialog" "The College Fund" 
  1805. FONT 8 "Helv" 
  1806. 89 28 16 12 8000 1350631424 "edit" "" 0 
  1807. 89 43 25 12 8002 1350631424 "edit" "" 0 
  1808. 89 57 16 12 8001 1350631424 "edit" "" 0 
  1809. 140 3 40 14 1 1342373889 "button" "Done" 0 
  1810. 82 76 40 8 8010 1342177282 "static" "" 0 
  1811. 4 32 84 8 1004 1342177280 "static" "Years until child enters college:" 0 
  1812. 4 46 84 8 1005 1342177280 "static" "Estimated college tuition/year:" 0 
  1813. 4 60 81 8 1006 1342177280 "static" "Savings account interest rate:" 0 
  1814. 5 2 131 24 1001 1342177280 "static" "" 0 
  1815. 106 59 6 10 1000 1342177280 "static" "%" 0 
  1816. 114 35 58 46 1003 1342177290 "static" "filename.bmp" 0 
  1817. 82 86 40 8 8011 1342177282 "static" "" 0 
  1818. 4 75 62 10 1007 1342177280 "static" "Total tuition (4yrs):" 0 
  1819. 4 86 85 10 1008 1342177280 "static" "Required savings/month:" 0 
  1820. 140 19 40 14 3 1342373888 "button" "Copy" 0 
  1821. 00018392
  1822.